package com.future.mayi.response;

import android.text.TextUtils;


import com.future.baselib.entity.BaseResponse;

import org.json.JSONException;
import org.json.JSONObject;


/**
 * Created by 周大虎 on 2017/9/25.
 */

public class UploadFileResponse extends BaseResponse {

    private String photo;

    @Override
    public void parseInfo(String content) throws JSONException {
        if (!TextUtils.isEmpty(content)) {
            JSONObject object = new JSONObject(content);
            photo = object.optString("url");
        }
    }

    public String getPhoto() {
        return photo;
    }
}
